package com.group.yqxxb.pojo;

import lombok.Data;

@Data
public class AgoMessageRequest {
    /**
     * 消息的发出方的账号
     * */
    private String from;

    /**
     * 消息的接收方的账号
     * */
    private String to;

    /**
     * 查询历史记录的开始时间
     * */
    private String begintime;

    /**
     * 查询历史记录的结束时间
     * */
    private String endtime;

    /**
     * 限制返回的总条数
     * */
    private Integer limit;

    public AgoMessageRequest(String from, String to, String begintime, String endtime, Integer limit) {
        this.from = from;
        this.to = to;
        this.begintime = begintime;
        this.endtime = endtime;
        this.limit = limit;
    }
}
